package sisi.payment;

import java.io.Serializable;
import javax.persistence.*;


/**
 * Paymentmode.java - The persistent class for the <i>payment mode database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 12/11/2013
 * 
 */
@Entity
public class Paymentmode implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PAYMENTMODE_PAYID_GENERATOR", sequenceName="PAYMENTMODESEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PAYMENTMODE_PAYID_GENERATOR")
	private Integer payid;

	private String paycode;

	private String paymode;

	/**
	 * Paymentmode.java - The persistent class for the <i>payment mode database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 12/11/2013
	 * 
	 */
	public Paymentmode() {
	}

	public Integer getPayid() {
		return this.payid;
	}

	public void setPayid(Integer payid) {
		this.payid = payid;
	}

	public String getPaycode() {
		return this.paycode;
	}

	public void setPaycode(String paycode) {
		this.paycode = paycode;
	}

	public String getPaymode() {
		return this.paymode;
	}

	public void setPaymode(String paymode) {
		this.paymode = paymode;
	}

}